package com.zucc.service;

import com.zucc.controller.req.CategoryAddReq;
import com.zucc.controller.req.CategoryModifyReq;
import com.zucc.controller.req.CategorySearchReq;
import com.zucc.controller.resp.CategoryResp;
import com.zucc.service.base.PageData;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-11 8:55 下午
 */
public interface CategoryService {
    void add(CategoryAddReq req);

    void modify(CategoryModifyReq req);

    void deleteOne(Long id);

    PageData<CategoryResp> page(CategorySearchReq req);
}
